add_circt_dialect_library(CIRCTDatapath
  DatapathDialect.cpp
  DatapathFolds.cpp
  DatapathOps.cpp

  ADDITIONAL_HEADER_DIRS
  ${CIRCT_MAIN_INCLUDE_DIR}/circt/Dialect/Datapath

  DEPENDS
  CIRCTComb
  
  LINK_COMPONENTS
  Support

  LINK_LIBS PUBLIC
  CIRCTHW
  CIRCTComb
  MLIRIR
  MLIRInferTypeOpInterface
)

add_subdirectory(Transforms)
